
#ifndef PICT_H
#define PICT_H 
	

	#include "bootpack.h"

		typedef unsigned char UCHAR;

		  struct DLL_STRPICENV{ 
		  	int work[16384]; 
		  } ;

		struct RGB { 
			unsigned char b,g,r,t ;
		} ;

int readIMG (SHEET * sheet ) ;

/* bmp.nasm */
int info_BMP(struct DLL_STRPICENV *env, int *info, int size, char *fp);
int decode0_BMP(struct DLL_STRPICENV *env, int size, char *fp, int b_type, char *buf, int skip);

/* jpeg.c */
int info_JPEG(struct DLL_STRPICENV *env, int *info, int size, char *fp);
int decode0_JPEG(struct DLL_STRPICENV *env, int size, char *fp, int b_type, char *buf, int skip);

//unsigned char rgb2pal(int r, int g, int b, int x, int y);

#endif 